package com.qf.main.pharmacy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
@author chengqiang
@Create 2024-02-18-9:22
@Description:
*/
@ApiModel(description="address")
@Data
@TableName(value = "address")
public class Address {
    /**
     * 地址主键
     */
    @TableId(value = "address_id", type = IdType.INPUT)
    @ApiModelProperty(value="地址主键")
    private Integer addressId;

    /**
     * 收件人
     */
    @TableField(value = "address_name")
    @ApiModelProperty(value="收件人")
    private String addressName;

    /**
     * 详细地址
     */
    @TableField(value = "address_desc")
    @ApiModelProperty(value="详细地址")
    private String addressDesc;

    /**
     * 手机号码
     */
    @TableField(value = "address_phone")
    @ApiModelProperty(value="手机号码")
    private String addressPhone;

    /**
     * 用户id
     */
    @TableField(value = "address_user_id")
    @ApiModelProperty(value="用户id")
    private Integer addressUserId;

    public static final String COL_ADDRESS_ID = "address_id";

    public static final String COL_ADDRESS_NAME = "address_name";

    public static final String COL_ADDRESS_DESC = "address_desc";

    public static final String COL_ADDRESS_PHONE = "address_phone";

    public static final String COL_ADDRESS_USER_ID = "address_user_id";
}